package com.wanxi.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author yangjin
 * @date 2022年08月09日 8:33
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "收货人信息",description = "用户收货信息的实体，一个用户有多条收货信息")
public class ConsigneeEntity implements Serializable {
    @ApiModelProperty(value = "收货信息Id",example = "用于标识一条收货信息唯一的属性")
    private Integer consigneeId;
    @ApiModelProperty(value = "用户Id",example = "用于关联用户的id")
    private Integer userId;
    @ApiModelProperty(value = "收货人姓名",example = "李四")
    private String name;
    @ApiModelProperty(value = "收货人性别",example = "0 男，1女，2保密")
    private Integer sex;
    @ApiModelProperty(value = "收货人手机号",example = "15644565643")
    private Integer phone;
    @ApiModelProperty(value = "收货地址",example = "四川省成都市高新区xx路幸福小区5五栋2单元106号")
    private String deliveryAddress;
    @ApiModelProperty(value = "是否是默认收货地址",example = "0 是 1否")
    private Integer checked;
}
